<?php
header('content-type:text/html; charset=utf-8');
?>
<!DOCTYPE html>
<html>
<head>
<title>点餐系统编写</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" charset="UTF-8" >
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/bootstrap.min.css" rel="stylesheet">
<script src="js/jquery-1.11.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<script src="js/respond.min.js"></script>
<![endif]-->
<style type="text/css">
	.navbar-brand {
	font-family: 黑体;
	}
	.panel-title {
	font-family: 黑体;
	}
</style>
</head>
<body>
<div class="navbar navbar-default">
  <div class="container">
  		<a class="navbar-brand" href="text.php">点餐系统</a>
  		<ul class="nav navbar-nav">
  				<li class="dropdown">
  						<a href="#" class="dropdown-toggle" data-toggle="dropdown" >订单管理 <span class="caret"></span></a>
  						<ul class="dropdown-menu">
  								<li><a href="orderList.php">订单列表</a></li>
  								<li><a href="orderHistoryList.php">订单记录</a></li>
  								
  										</ul>
  										</li>
  										</ul>
  										 
  										<ul class="nav navbar-nav">
  												<li class="dropdown">
  												<a href="#" class="dropdown-toggle" data-toggle="dropdown" >菜品管理 <span class="caret"></span></a>
  														<ul class="dropdown-menu">
  														<li><a href="caipinadd.php">添加菜品</a></li>
  														<li><a href="dishList.php">菜品列表</a></li>
  														<li class="divider"></li>
  														<li><a href="dishTypeAdd.php">添加菜品类型</a></li>
  														<li><a href="dishTypeList.php">菜品类型列表</a></li>
  														</ul>
  																</li>
      </ul>
       
      <ul class="nav navbar-nav">
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" >餐桌管理 <span class="caret"></span></a>
          <ul class="dropdown-menu">
          <li><a href="canzhuo.php">添加餐桌</a></li>
          <li><a href="CZlist.php">餐桌列表</a></li>
          		</ul>
          		</li>
          				</ul>
          				 
	  <ul class="nav navbar-nav">
	  		<li class="dropdown">
	  		<a href="#" class="dropdown-toggle" data-toggle="dropdown" >登录管理 <span class="caret"></span></a>
	  		<ul class="dropdown-menu">
	  		<li><a href="#" data-toggle="modal" data-target="#1">关于点餐系统</a></li>
	  		<li class="divider"></li>
	  		<li><a href="loginRepair.php">修改登录信息</a></li>
	  		<li><a href="#"  data-toggle="modal" data-target="#2">退出登录</a></li>
	  		</ul>
	  		 
		<div id="1" class="modal">
		<div class="modal-dialog">				
						<div class="modal-content">
							<div class="modal-header">
								<span class="close" data-dismiss="modal">&times;</span>
								<div class="modal-title">
									<h4>关于点餐系统</h4>
								</div>
							</div>
					<div class="modal-body">
						<h5>本点餐系统是喻德软件快训的一个程序入门Demo！仅PHP+html+css实现，不包含一句javascript代码的哦。</h5>
					</div>
					<div class="modal-footer">
						<button class="btn btn-primary" data-dismiss="modal">确定</button>
					</div>
						</div>
		</div>
		</div>
		<div id="2" class="modal">
		<div class="modal-dialog">				
						<div class="modal-content">
							<div class="modal-header">
								<span class="close" data-dismiss="modal">&times;</span>
								<div class="modal-title">
									<h4>确定退出登录</h4>
								</div>
							</div>
					<div class="modal-body">
						你确定要退出登录吗？
					</div>
					<div class="modal-footer">
					<a type="submit" class="btn btn-default" href="abort.php">确定</a>
					<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
					</div>
						</div>
		</div>
		</div>
	  		</li>
	 </ul>
	  </div>
	  </div>
	  
	  
	  		      
	<div class="container">
		<div class="row">
			<div class="col-sm-3 col-md-2 page-left">
	         <a class="btn btn-default btn-block" href="text.php">返回首页</a>
	        </div>
	       
	        <div class="col-sm-6 col-md-5 col-lg-4">
        <div class="panel panel-success">
            <div class="panel-heading">
                <h1 class="panel-title">
                    <span class="glyphicon glyphicon-edit"></span>
                                                            修改登录信息
                </h1>
            </div>
            <div class="panel-body">
                                <form action="wwUpdate.php" method="post" class="form-horizontal">
                    <input type="hidden" name="id" value="<?php ?>">
                    <div class="form-group">
                        <label class="control-label col-sm-4 hidden-xs">原录名：</label>
                        <div class="col-sm-8">
                            <input required="required" name="oldLogin" value="" class="form-control" placeholder="原登录名">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-sm-4 hidden-xs">原密码：</label>
                        <div class="col-sm-8">
                            <input required="required" type="password" name="oldPassword" value="" class="form-control" placeholder="原密码">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-sm-4 hidden-xs">新登录名：</label>
                        <div class="col-sm-8">
                            <input required="required" name="login" value="" class="form-control" placeholder="新登录名">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-sm-4 hidden-xs">新密码：</label>
                        <div class="col-sm-8">
                            <input required="required" type="password" name="password" value="" class="form-control" placeholder="密码">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-sm-4 hidden-xs">确认：</label>
                        <div class="col-sm-8">
                            <input required="required" type="password" name="confirm" value="" class="form-control" placeholder="确认">
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-offset-4 col-sm-4">
                            <button class="btn btn-success btn-block">修改</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
	</div>
	</div>
	</div>
	        
	  </body>
	  </html>